package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._14备忘录模式._1基本代码;

//管理者
class Caretaker{

    private Memento memento;
    public Memento getMemento(){
        return this.memento;
    }
    public void setMemento(Memento value){
        this.memento = value;
    }
}